/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package session02;

/**
 *
 * @author macbookpro
 */
public class AccountTest1 {
    public static void main(String[] args) {
        Account a = new Account();
        
        AccountDeposit1 ad = new AccountDeposit1(a);
        ad.start();
        
        AccountWithdraw1 aw = new AccountWithdraw1(a);
        (new Thread(aw)).start();
        
        System.out.println(a);
    }
    
}
